package Merlion.util.state;

import java.io.Serializable;
import java.util.Date;

public class PickingOrderState implements Serializable {

    private Long id;
    private Long deliveryOrderId;
    private String pickingRoute;
    private String pickingMethod;
    private Date issueDate;
    private Date dueDate;
    private Long targetWarehouseId;
    private String status;
    private boolean deleted;
    private int shipGroup;
    private String targetWarehouseName;

    public PickingOrderState(Long id, Long deliveryOrderId, String pickingRoute, 
            String pickingMethod, Date issueDate, Date dueDate, Long targetWarehouseId, 
            String status, boolean deleted) {
        this.id = id;
        this.deliveryOrderId = deliveryOrderId;
        this.pickingRoute = pickingRoute;
        this.pickingMethod = pickingMethod;
        this.issueDate = issueDate;
        this.dueDate = dueDate;
        this.targetWarehouseId = targetWarehouseId;
        this.status = status;
        this.deleted = deleted;
       // this.shipGroup=shipGroup;
    }

    public void create(Long id, Long doId, String pickingRoute, String pickingMethod,
            Date issue, Date due, Long targetWarehouseId, String status, boolean deleted){
        this.setId(id);
        this.setDeliveryOrderId(deliveryOrderId);
        this.setPickingRoute(pickingRoute);
        this.setPickingMethod(pickingMethod);
        this.setIssueDate(issueDate);
        this.setDueDate(dueDate);
        this.setTargetWarehouseId(targetWarehouseId);
        this.setStatus(status);
        this.setDeleted(deleted);
    }
    public PickingOrderState() {
        
    }

    public String getTargetWarehouseName() {
        return targetWarehouseName;
    }

    public void setTargetWarehouseName(String targetWarehouseName) {
        this.targetWarehouseName = targetWarehouseName;
    }
    
    

    public int getShipGroup() {
        return shipGroup;
    }

    public void setShipGroup(int shipGroup) {
        this.shipGroup = shipGroup;
    }

    
    
    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public Long getDeliveryOrderId() {
        return deliveryOrderId;
    }

    public void setDeliveryOrderId(Long deliveryOrderId) {
        this.deliveryOrderId = deliveryOrderId;
    }

    public Date getDueDate() {
        return dueDate;
    }

    public void setDueDate(Date dueDate) {
        this.dueDate = dueDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(Date issueDate) {
        this.issueDate = issueDate;
    }

    public String getPickingMethod() {
        return pickingMethod;
    }

    public void setPickingMethod(String pickingMethod) {
        this.pickingMethod = pickingMethod;
    }

    public String getPickingRoute() {
        return pickingRoute;
    }

    public void setPickingRoute(String pickingRoute) {
        this.pickingRoute = pickingRoute;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getTargetWarehouseId() {
        return targetWarehouseId;
    }

    public void setTargetWarehouseId(Long targetWarehouseId) {
        this.targetWarehouseId = targetWarehouseId;
    }
}
